import {  } from '@/interface/store';


const store: IStore = {
  nameSpace: 'home',
  state:{
    num: 20
  },
  actions:{
    
  },
  // 异步方法 优化redux-thunk的异步写法
  mutations: {
    
  },
  actionNames:{}
};

let actionNames: any = {};

for(let key in store.actions){
  actionNames[key] = key
}

store.actionNames = actionNames;

export default store;